Package com.cisco.pt.ipc.sim.impl
Class CsmaCdProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.HardwareQueueImpl
com.cisco.pt.ipc.sim.impl.CsmaCdProcessImpl
- All Implemented Interfaces:
IPCObject,CsmaCdProcess,HardwareQueue
Information provided by the PKI file:
\class CsmaCdProcess
\brief IEEE 802.3 header structure.
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionCsmaCdProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionintintInformation provided by the PKI file:booleanvoidsetKeepAliveInterval(int interval) voidsetKeepAliveOn(boolean bOn) Methods inherited from class com.cisco.pt.ipc.sim.impl.HardwareQueueImpl
getUserTrafficAtMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.HardwareQueue
getUserTrafficAtMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
CsmaCdProcessImpl
public CsmaCdProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getPacketCnt
public int getPacketCnt()Description copied from class:HardwareQueueImplInformation provided by the PKI file:
\brief Returns the number of packets. \return int, the number of packets.- Specified by:
getPacketCntin interfaceCsmaCdProcess- Specified by:
getPacketCntin interfaceHardwareQueue- Overrides:
getPacketCntin classHardwareQueueImpl- Returns:
- int Returns a int
-
setKeepAliveOn
public void setKeepAliveOn(boolean bOn) - Specified by:
setKeepAliveOnin interfaceCsmaCdProcess- Parameters:
bOn- Takes in a parameter of bOn
-
isKeepAliveOn
public boolean isKeepAliveOn()- Specified by:
isKeepAliveOnin interfaceCsmaCdProcess- Returns:
- boolean Returns a boolean
-
setKeepAliveInterval
public void setKeepAliveInterval(int interval) - Specified by:
setKeepAliveIntervalin interfaceCsmaCdProcess- Parameters:
interval- Takes in a parameter of interval
-
getKeepAliveInterval
public int getKeepAliveInterval()- Specified by:
getKeepAliveIntervalin interfaceCsmaCdProcess- Returns:
- int Returns a int
-